home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 19.zip / BS1 part 19 / Dutils II.adf / TUPperware / TUPperware_docs < prev    next >
Text File  |  1988-10-15  |  5KB  |  128 lines

  1. KDV
  2. ---
  3.    KDV is a simple memory virus killer. It's meant to live early in the
  4. startup-sequence file to ensure that no virus is active in memory. It will
  5. be updated as new nasties come along.
  6.  
  7.       --------------------------||---------------------------
  8.  
  9. Play
  10. ----
  11.    This doc was originally on MegaDisc 4. The Play program has been updated
  12. since then and so have the docs. Sorry about the preliminary waffle.
  13.  
  14.    Since my earliest involvement with microcomputers, sound generation has
  15. been of great interest to me. Now with the Amiga (my 6th home computer), we
  16. all have the tools to produce and process high quality sound effects, music
  17. and synthesized speech.
  18.  
  19.    When I took delivery of 'Perfect Sound', I was very impressed with the
  20. whole product, and particularly the library of sound effects that are
  21. included on the diskette provided with it. There is also a rather large
  22. (60k) program that enables the user to digitize sound and manipulate samples
  23. in a number of ways. While this is a useful piece of software it didn't
  24. fulfill all of my requirements, hence 'Play'.
  25.  
  26.    I wrote Play to fill the holes left by the Perfect Sound software. Play
  27. is quite small at about 13000 bytes, and can be easily driven from Cli,
  28. or included in the Startup-Sequence file. It can Play up to 3 sounds, IFF or
  29. otherwise, and has a number of options to process the sample.
  30.  
  31.    If Play is processing an IFF sound sample file it will extract a number
  32. of parameters from that file and reproduce the sound accordingly, in stereo
  33. if so digitized! Play can use a non-IFF file, regardless of its type.
  34. It could be a dump format file, without playback rate information etc, an
  35. executable file or any other odd file you may encounter on a disk. Play will
  36. even play itself!
  37.  
  38.    Now that I have whet your appetite let's discuss how to drive Play. Play
  39. accepts up to 3 sample filenames as parameters. Each filename can have a set
  40. of options also. The options are :-
  41.  
  42.   'p'[num] for pause 'num' seconds before playing the next sound. p without
  43.      a num will give about 3 seconds pause.
  44.  
  45.   'r'[num] for repeat this sound, this sound, this sound (get the idea!)
  46.       num specifies how many times to repeat.
  47.  
  48.   'v'[num] for vary the playback rate. An IFF file has a playback imbedded
  49.       in the file, other types of files do not. If Play encounters a non-IFF
  50.       file it will default to reproducing the sound at 10000 samples/second.
  51.       That's 10000 bytes/second. My first 2 computers combined hardly had 1k
  52.       of ram between them! 
  53.       The 'v' option allows you to override the playback rate. For instance
  54.       v5000 sets the playback rate to half of the usual, while v20000
  55.       doubles the playback rate.
  56.  
  57.    'l'[num] for loop. This makes play loop back to either sound (and
  58.        parameters) 1, sound 2 or sound 3, although looping to sound 3 is the
  59.        same as repeat. Looping means to repeat the play command line from a
  60.        certain point. NB Control-c stops the looping.
  61.  
  62.    's' for stop grovelling disables the 'Please send money' message from
  63.       appearing on the screen.
  64.  
  65.    Now some examples to set you on you way.
  66.  
  67. If you have the Perfect Sound samples :-
  68.  
  69.    Play yell -pv5000 chopper -pv20000 chopper -prv5000
  70.             (this plays a blood curdleing scream at half speed, pauses,
  71.              then plays a helicopter sound at twice normal speed (turbo chopper!),
  72.              pauses, then the same sound effect is played at a slower rate
  73.              repeating until you press control-c).
  74.  
  75. If you have 'Star Glider' try :-
  76.  
  77.    Play sg ( this is the main file of Star Glider at around 260k. You may be
  78.              surprised to discover how much of is sounds).
  79.  
  80.    Play sglider.snd
  81.  
  82. If you have 'Demolition' try :-
  83.  
  84.    Play effects/titlesong -rv20000 ( Flashy isn't it! Sorry, my sick humour).
  85.  
  86. If you have 'Phalanx' try :-
  87.  
  88.    Play Phalanx.sound
  89.    Play Phalanx.titlesong
  90.  
  91. If you have 'Quintette' try :-
  92.  
  93.    Play qdata2 -p qdata3 -p qdata1 (nice, huh!)
  94.  
  95.    N.B. Play loads the sound files into memory before playing them so that
  96. the noise of the disk drive wont interfere. If you have expansion memory,
  97. then all the better. Play can reproduce the sounds out of 'Fast' memory even
  98. though the Amiga custom chips can't directly access expansion memory.
  99. Remember sound reproduction, like graphics loves to chew up memory.
  100.  
  101.    I'm sure you can find many more sounds on your favourite disks, now you
  102. have another tool to Play with.
  103.  
  104.       --------------------------||---------------------------
  105.  
  106. Whatis
  107. ------
  108.    Whatis is a tool that I have extracted from the DutilsII code. It grew
  109. from the need to identify what certain files are, without the hassle of:
  110. 1) selecting the file
  111. 2) hex typeing it, with another keypress to specify the start of the file
  112. 3) then looking at the first few bytes to work out what it is.
  113. Whatis does this for me. I must admit it works better in the DutilsII
  114. environment, there you dont have to spell out the whole filename.....hmm now
  115. if I add wildcard handling......maybe later.
  116.  
  117.    Whatis can identify the following:
  118. 1) an executable file
  119. 2) an IFF picture
  120. 3) an IFF sound
  121. 4) a BASIC program
  122. 5) a protected BASIC program
  123. 6) a text file - although some odd ASCII characters may confuse it. I think
  124.                  backspace is one.
  125.  
  126.    I could incorporate detecting icons but they are easily identified by
  127. the '.info' in their filenames.
  128.